#include <named.hpp>
Public Member Functions | |
Named (void) | |
Default constructor. | |
Named (const std::string &s) | |
Construct with a value. | |
Named (const char *s) | |
Construct with a C-string. | |
Named (const Named &old) | |
Protected copy constructor to avoid unwanted copies. | |
virtual | ~Named (void) |
Destructor. | |
virtual std::string | name (void) const |
Get this instance's name. | |
void | name (const std::string &s) |
Set this instance's name. |
gridpack::utility::Named::Named | ( | void | ) |
Default constructor.
gridpack::utility::Named::Named | ( | const std::string & | s | ) |
Construct with a value.
gridpack::utility::Named::Named | ( | const char * | s | ) |
Construct with a C-string.
gridpack::utility::Named::Named | ( | const Named & | old | ) |
Protected copy constructor to avoid unwanted copies.
virtual gridpack::utility::Named::~Named | ( | void | ) | [virtual] |
Destructor.
void gridpack::utility::Named::name | ( | const std::string & | s | ) |
Set this instance's name.
virtual std::string gridpack::utility::Named::name | ( | void | ) | const [virtual] |
Get this instance's name.